package cn.chrisn.factory.AbstractFactor;

/**
 * @Description
 * @Author Chrisn
 * @Date 2025/4/29
 */
public class BenzFactory implements AbstractCarFactor{

    @Override
    public BClassCar build_B_clasCar() {
        System.out.println("宝马工厂生产B级宝马车");
        return new BenzB();
    }

    @Override
    public CClassCar build_C_clasCar() {
        System.out.println("宝马工厂生产C级宝马车");
        return new BenzC();
    }
}
